package com.mhys.mapper;

import com.mhys.model.THospital;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface THospitalMapper {
    int deleteByPrimaryKey(Integer hid);
    

    int insert(THospital row);

    THospital selectByPrimaryKey(Integer hid);

    List<THospital> selectAll();
    
    int insertMany(@Param("hospitals") List<THospital> hospitals); 
    
    List<THospital> selectById(@Param("area") String area,@Param("grade") String grade);
    
    THospital selectHospitalDeptsByName(@Param("hname") String hname);

    int updateByPrimaryKey(THospital row);
    int dynallupdateByPrimaryKey(THospital row);
}